| Fully Qualified Name: | CodeIgniter\Cache\Handlers\MemcachedHandler |
| Implements: | CacheInterface |
Mamcached cache handler
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor. | MemcachedHandler |
| __destruct() | Class destructor | MemcachedHandler |
| clean() | Will delete all items in the entire cache. | MemcachedHandler |
| decrement() | Performs atomic decrementation of a raw stored value. | MemcachedHandler |
| delete() | Deletes a specific item from the cache store. | MemcachedHandler |
| get() | Attempts to fetch an item from the cache store. | MemcachedHandler |
| getCacheInfo() | Returns information on the entire cache. | MemcachedHandler |
| getMetaData() | Returns detailed information about the specific item in the cache. | MemcachedHandler |
| increment() | Performs atomic incrementation of a raw stored value. | MemcachedHandler |
| initialize() | Takes care of any handler-specific setup that must be done. | MemcachedHandler |
| isSupported() | Determines if the driver is supported on this system. | MemcachedHandler |
| save() | Saves an item to the cache store. | MemcachedHandler |
Constructor.
| Parameter Name | Type | Description |
|---|---|---|
| $config | \type |
Returns:
Class destructor
Closes the connection to Memcache(d) if present.
Returns:
Will delete all items in the entire cache.
Returns: mixed
Performs atomic decrementation of a raw stored value.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Cache |
| $offset | int | Step/value |
Returns: mixed
Deletes a specific item from the cache store.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Cache |
Returns: mixed
Attempts to fetch an item from the cache store.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Cache |
Returns: mixed
Returns information on the entire cache.
The information returned and the structure of the data varies depending on the handler.
Returns: mixed
Returns detailed information about the specific item in the cache.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Cache |
Returns: mixed
Performs atomic incrementation of a raw stored value.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Cache |
| $offset | int | Step/value |
Returns: mixed
Takes care of any handler-specific setup that must be done.
Returns:
Determines if the driver is supported on this system.
Returns: bool
Saves an item to the cache store.
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | Cache |
| $value | mixed | The |
| $ttl | int | Time |
Returns: mixed